TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += \
        main.c \
        src/colorkey.c \
        src/init.c \
        src/keypress.c \
        src/motion.c \
        src/multiwin.c \
        src/render.c \
        src/texture.c

win32: LIBS += -L$$PWD/../../../codeblocks_projects/SDL2-devel-2.0.12-mingw/SDL2-2.0.12/i686-w64-mingw32/lib/ -lmingw32 -lSDL2main -lSDL2

INCLUDEPATH += $$PWD/../../../codeblocks_projects/SDL2-devel-2.0.12-mingw/SDL2-2.0.12/i686-w64-mingw32/include/SDL2
DEPENDPATH += $$PWD/../../../codeblocks_projects/SDL2-devel-2.0.12-mingw/SDL2-2.0.12/i686-w64-mingw32/include/SDL2

INCLUDEPATH += $$PWD/inc

HEADERS += \
    inc/colorkey.h \
    inc/init.h \
    inc/keypress.h \
    inc/main.h \
    inc/motion.h \
    inc/multiwin.h \
    inc/render.h \
    inc/texture.h

win32: LIBS += -L$$PWD/../../../codeblocks_projects/SDL2_image-devel-2.0.5-mingw/SDL2_image-2.0.5/i686-w64-mingw32/lib/ -lSDL2_image

INCLUDEPATH += $$PWD/../../../codeblocks_projects/SDL2_image-devel-2.0.5-mingw/SDL2_image-2.0.5/i686-w64-mingw32/include/SDL2
DEPENDPATH += $$PWD/../../../codeblocks_projects/SDL2_image-devel-2.0.5-mingw/SDL2_image-2.0.5/i686-w64-mingw32/include/SDL2

win32: LIBS += -L$$PWD/../../../codeblocks_projects/SDL2_ttf-devel-2.0.15-mingw/SDL2_ttf-2.0.15/i686-w64-mingw32/lib/ -lSDL2_ttf

INCLUDEPATH += $$PWD/../../../codeblocks_projects/SDL2_ttf-devel-2.0.15-mingw/SDL2_ttf-2.0.15/i686-w64-mingw32/include/SDL2
DEPENDPATH += $$PWD/../../../codeblocks_projects/SDL2_ttf-devel-2.0.15-mingw/SDL2_ttf-2.0.15/i686-w64-mingw32/include/SDL2

win32: LIBS += -L$$PWD/../../../codeblocks_projects/SDL2_mixer-devel-2.0.4-mingw/SDL2_mixer-2.0.4/i686-w64-mingw32/lib/ -lSDL2_mixer

INCLUDEPATH += $$PWD/../../../codeblocks_projects/SDL2_mixer-devel-2.0.4-mingw/SDL2_mixer-2.0.4/i686-w64-mingw32/include/SDL2
DEPENDPATH += $$PWD/../../../codeblocks_projects/SDL2_mixer-devel-2.0.4-mingw/SDL2_mixer-2.0.4/i686-w64-mingw32/include/SDL2
